simetrix.Simulation¶
- class simetrix.Simulation¶
Bases:
objectObject returned by methods that perform a simulation. Provides status information and any
DataGroupobjects created by the simulation run.Methods
getGroupFromAnalysis(analysisType)Get DataGroup associated with the specified analysis type.
Attributes
DataGroup objects providing access to data created by the simulation.
Error message on simulation failure.
Primary data group created by simulation.
Simulation status.
- property dataGroups: list[DataGroup]¶
DataGroup objects providing access to data created by the simulation.
- property errorMessage: str¶
Error message on simulation failure.
- getGroupFromAnalysis(analysisType: AnalysisType) DataGroup¶
Get DataGroup associated with the specified analysis type.
- property primaryGroup: DataGroup¶
Primary data group created by simulation. For example, a SIMetrix AC analysis will usually create two groups, one for the AC analysis itself and another for the DC operating point data. The primaryGroup is the AC analysis data while the dataGroups property will return both the AC group and the DCOP group.